/*
* @Author: Choisaaaa
* @Date: 2018/5/7  17:38 
*/

var _mm = require("util/mm.js");

var _verifyCode = {

    checkCode : function(codeValue,resolve,reject) {
        _mm.request({
            url : _mm.getServerUrl("/code/check.do"),
            data : {
                codeValue : codeValue
            },
            method :"get",
            success : resolve,
            error : reject
        });
    },

}


module.exports = _verifyCode;